package com.xtkj.superclub_share.client;

import com.xtkj.commons.JsonResult;
import com.xtkj.superclub_entity.entity.user.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author lizheqi
 * @create 2020-01-06-9:14
 */
@FeignClient("SUPERCLUB-USER")
public interface IUserClient {
    @RequestMapping(value = "/invite",method = RequestMethod.GET)
    @ResponseBody
    JsonResult inviteUser(@RequestBody User user);
}
